package com.nmsl.sn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 员工列表对象 employee
 * 
 * @author skx
 * @date 2025-02-15
 */
@Data
public class SnEmployee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 员工性别 */
    @Excel(name = "员工性别")
    private String gender;

    /** 员工年龄 */
    @Excel(name = "员工年龄")
    private Long age;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 所属诊所 */
    @Excel(name = "所属诊所")
    private Long clinicId;

    /** 所属科室 */
    @Excel(name = "所属科室")
    private Long departmentId;

    /** 角色，关联角色列表的角色编号 */
    @Excel(name = "角色，关联角色列表的角色编号")
    private Long roleId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** id(自联) */
    @Excel(name = "id(自联)")
    private Long adminId;

    /** 员工状态 */
    @Excel(name = "员工状态")
    private String status;

    /** 员工简介 */
    @Excel(name = "员工简介")
    private String profile;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setClinicId(Long clinicId) 
    {
        this.clinicId = clinicId;
    }

    public Long getClinicId() 
    {
        return clinicId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setProfile(String profile) 
    {
        this.profile = profile;
    }

    public String getProfile() 
    {
        return profile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("phoneNumber", getPhoneNumber())
            .append("clinicId", getClinicId())
            .append("departmentId", getDepartmentId())
            .append("roleId", getRoleId())
            .append("creationTime", getCreationTime())
            .append("adminId", getAdminId())
            .append("status", getStatus())
            .append("profile", getProfile())
            .toString();
    }
}
